Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Factory loading mechanism to FactoryBots supported mechanism #2030

Merged
merged 1 commit into from
Feb 17, 2021

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Feb 17, 2021

We build these factories such that they could be independently loaded.
However, FactoryBot is built with the assumption in mind that it gets a
number of folder names and loads the factories when loading itself (via
FactoryBot.find_definitions).

The old behaviour is partially still supported, but deprecated.

@mamhoff mamhoff force-pushed the factorybot-fixes-5.2 branch from eb9d45a to 099e803 Compare February 17, 2021 10:35
We build these factories such that they could be independently loaded.
However, FactoryBot is built with the assumption in mind that it gets a
number of folder names and loads the factories when loading itself (via
FactoryBot.find_definitions).

The old behaviour is still supported, but deprecated.
@mamhoff mamhoff force-pushed the factorybot-fixes-5.2 branch from 099e803 to becaa52 Compare February 17, 2021 10:46
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@tvdeyen tvdeyen merged commit 796422d into AlchemyCMS:5.2-stable Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants